# How the Ramp button works at run time

When the operator presses the Ramp button, the application reads the Value connection value, stores a local copy of the value, adds or subtracts the ramp amount from the local value, and writes the result to the Value connection at the data source.

The Ramp button’s behavior at run time also depends on whether you set up auto repeat.

Tip: | Pressing a Ramp button a second time before the previous increment or decrement has finished updating can affect the accuracy of the resulting numeric value. Wait for each increment or decrement to finish updating before pressing the Ramp button again.

## Open and close graphic displays

- When you open a display at run time, the application reads the Value connection value.
- When you close a display at run time, if the button is in auto repeat mode, the button is released and the value of the button at the moment it is released is written to the Value connection.

## See also

Causes of run-time errors for the Ramp button

Set up connections for the Ramp button